﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="products_category.aspx.cs" Inherits="WebSite.cn.products_category" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register Src="leftimg.ascx" TagName="leftimg" TagPrefix="uc4" %>
<%@ Register Src="leftimgs.ascx" TagName="leftimgs" TagPrefix="uc5" %>
<%@ Register Assembly="CustomList" Namespace="CustomList" TagPrefix="cc1" %>
<%@ Register Src="pinpai.ascx" TagName="pinpai" TagPrefix="uc6" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
        <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <center>
	<uc1:head ID="head2" runat="server" />
<div id="container">
  
   
   <div id="left">
	   <div class="left_title_search">
		  <%=cname%>
	  </div>
	  <div class="left_aboutcon">
	      <ul>
		     <%=lclassname%>
             <%=lclassnames %>
		  </ul>
	  </div>
	  <uc6:pinpai ID="pinpai1" runat="server" />
	   <uc5:leftimgs ID="leftimgs_1" runat="server" />
	   
	     
   </div>
   <div id="con">
   
      <div class="location"><a href="category_list.aspx">所有分类</a><%=classname %><%=classnames %></div>
	  <div class="pro">
       <cc1:CustomList ID="productsList" runat="server"  EmptyText="暂无产品." OnPageIndexChanged="PageChanged" PageSize="12" RepeatColumns="4" CellPadding="0" Width="100%" CurrentPageIndex="1" ForeColor="#333333" CssClass="table_pro03" OnItemDataBound="DataList1_ItemDataBound">
        <ItemTemplate>
			    <p><a href="products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>"><asp:Image ID="Image1" runat="server" ImageUrl=<%# DataBinder.Eval(Container.DataItem, "propic2") %>  CssClass="img02" ></asp:Image></a></p>
				<ul>
				  
				   <li><a href="products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>"><%# DataBinder.Eval(Container.DataItem, "proname") %></a></li>
                    <li><asp:Label ID="price" runat="server" CssClass="text_red" Text=<%# DataBinder.Eval(Container.DataItem, "proisnew3").ToString().ToLower()== "true" ? "零售价:" + String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) : "兑换价:" + String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) %>></asp:Label></li>
				</ul>
		 </ItemTemplate>
        </cc1:CustomList>
	  </div>
   </div>

   <uc3:bottom ID="bottom_1" runat="server" />
	 
</div>
</center>
</body>
</html>
